import { defineStore } from "pinia";
import {ref} from "vue";


function initStore() {
    return {
        name: "chf",
        id: 1,
        email: "1743309009@qq.com",
        phone: "13113003318",
        token: "",
        groupList: [],
        friendList: []
    }
}
export const useUserStore = defineStore("userStore", () => {
    const state = ref(initStore())
    return {
        state
    }
})